const p = new Proxy({}, {
    get(target, prop, receiver) {
        console.log(prop, receiver)
    }
})

const obj = {
    a: 1,
    get b() {
        console.log('bb')
        return ++this.a
    }
}

const p2 = new Proxy(obj, {
    get(target, prop) {
        console.log(target, prop)
        return target[prop]
    }
})

console.log(p2.b)
